< previous page page_xiii next page >

Page xiii
9f31265bb40b592b1929e18a47ab28e5.gif
Simple Object-based Design
381
9f31265bb40b592b1929e18a47ab28e5.gif
Other Examples of Classes
382
9f31265bb40b592b1929e18a47ab28e5.gif
Advantages of OOP
382
9f31265bb40b592b1929e18a47ab28e5.gif
Encapsulation
382
9f31265bb40b592b1929e18a47ab28e5.gif
Polymorphism
383
9f31265bb40b592b1929e18a47ab28e5.gif
Testing
383
9f31265bb40b592b1929e18a47ab28e5.gif
Code Reusability
383
9f31265bb40b592b1929e18a47ab28e5.gif
Disadvantages of OOP
383
9f31265bb40b592b1929e18a47ab28e5.gif
The Learning Curve
384
9f31265bb40b592b1929e18a47ab28e5.gif
Performance
384
9f31265bb40b592b1929e18a47ab28e5.gif
Not Everything Is an Object
384
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
385
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
385
20
Creating Class Modules
387
9f31265bb40b592b1929e18a47ab28e5.gif
Visual Basic Class Modules
388
9f31265bb40b592b1929e18a47ab28e5.gif
Creating a Simple Class
388
9f31265bb40b592b1929e18a47ab28e5.gif
Reading Properties
389
9f31265bb40b592b1929e18a47ab28e5.gif
Class Initialization
390
9f31265bb40b592b1929e18a47ab28e5.gif
Writing to Properties
392
9f31265bb40b592b1929e18a47ab28e5.gif
Creating Property Get and Property Let Procedures
393
9f31265bb40b592b1929e18a47ab28e5.gif
The Class Builder Utility
394
9f31265bb40b592b1929e18a47ab28e5.gif
Methods
395
9f31265bb40b592b1929e18a47ab28e5.gif
Form Objects
396
9f31265bb40b592b1929e18a47ab28e5.gif
Creating Form Properties
396
9f31265bb40b592b1929e18a47ab28e5.gif
Property Procedures in the Employee Form
398
9f31265bb40b592b1929e18a47ab28e5.gif
The TextStream Class
399
9f31265bb40b592b1929e18a47ab28e5.gif
Writing to a File Using the TextStream Class
401
9f31265bb40b592b1929e18a47ab28e5.gif
Reading from a Text File
404
9f31265bb40b592b1929e18a47ab28e5.gif
The FileTooBig Property
406
9f31265bb40b592b1929e18a47ab28e5.gif
The Class_Terminate Event
407
9f31265bb40b592b1929e18a47ab28e5.gif
Warning About Global Objects
408
9f31265bb40b592b1929e18a47ab28e5.gif
Default Methods and Properties
408
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
409
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
409
9f31265bb40b592b1929e18a47ab28e5.gif
Exercises
410
21
System Objects
411
9f31265bb40b592b1929e18a47ab28e5.gif
What Is an Object?
412
9f31265bb40b592b1929e18a47ab28e5.gif
Object Types
412
9f31265bb40b592b1929e18a47ab28e5.gif
Generic Object Types
413
9f31265bb40b592b1929e18a47ab28e5.gif
Form and Control Objects
414
9f31265bb40b592b1929e18a47ab28e5.gif
What Do We Do with These Objects?
414
9f31265bb40b592b1929e18a47ab28e5.gif
Determining an Objects Type
417
9f31265bb40b592b1929e18a47ab28e5.gif
When to Use Generic Versus Specific Object Types
417
9f31265bb40b592b1929e18a47ab28e5.gif
Objects Are Passed by Reference
418
9f31265bb40b592b1929e18a47ab28e5.gif
System Objects
418
9f31265bb40b592b1929e18a47ab28e5.gif
Rules When Using System Objects
419
9f31265bb40b592b1929e18a47ab28e5.gif
The App Object
419
9f31265bb40b592b1929e18a47ab28e5.gif
Filling in the Application Information
421
9f31265bb40b592b1929e18a47ab28e5.gif
Checking for a Previous Instance
422
9f31265bb40b592b1929e18a47ab28e5.gif
The Screen Object
422
9f31265bb40b592b1929e18a47ab28e5.gif
Twips
423
9f31265bb40b592b1929e18a47ab28e5.gif
Displaying Screen Fonts
424
9f31265bb40b592b1929e18a47ab28e5.gif
Changing the Mouse Pointer
425
9f31265bb40b592b1929e18a47ab28e5.gif
The Clipboard Object
426
9f31265bb40b592b1929e18a47ab28e5.gif
Selecting Text
427
9f31265bb40b592b1929e18a47ab28e5.gif
Moving Text to the Clipboard
427
9f31265bb40b592b1929e18a47ab28e5.gif
The Screen.ActiveControl Property
428
9f31265bb40b592b1929e18a47ab28e5.gif
Creating New Forms at Runtime
429
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
432
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
432

 
< previous page page_xiii next page >

If you like this book, buy it!